<?php namespace Home\Model;
use Hdphp\Model\Model;
class Login extends Model{
//指定表名
    protected $table = "user";
//  错误提示    
    protected $validate = array(
        array('username','required','用户名不能为空',3,3),
        array('password','required','密码不能为空',3,3),
		
    );  
}